using System;
using System.ComponentModel;

namespace Fuse8.ContentManagementFramework.Web.ApplicationRuntime.ContentModuleModels
{
    [Serializable]
    public class WhereModel
    {
        public string ParameterName { get; set; }
        public string Value { get; set; }
        public WhereType Type { get; set; }
    }

    public enum WhereType
    {
        [Description("None")]
        None,
        [Description("Constant")]
        Const,
        [Description("Query")]
        QueryString,
        [Description("Session")]
        Session,
        [Description("MVC Route Data")]
        MvcRouteData
    }
}